package edu.sctu.practice.class02.yangyuran.test24;

/**
 * Created by Administrator on 2015/10/19.
 */
public class Door_1 extends Door {
    @Override
    public void openDoor() {
        System.out.println("开门");
    }

    @Override
    public void closeDoor() {
        System.out.println("关门");
    }

    public void thefproof(){
        System.out.println("防盗功能");
    }

    public void waterproof(){
        System.out.println("防水功能");
    }

    public void bulletproof(){
        System.out.println("防弹功能");
    }

    public static void main(String[] args) {
        Door_1 door_1=new Door_1();
        door_1.openDoor();
        door_1.closeDoor();
        door_1.thefproof();
        door_1.waterproof();
        door_1.bulletproof();
    }
}
